class_name = "CShip"
object_name = "Landing Craft LCM"
detail_type = "DET_SHIP" //list of types is in \inc\SimulationSystem\DetailTypes.inc

//////	PhysicsBody properties
//VisualImage = <int TYPE>,<string File_PathName>,<bool cast_shadows>

VisualImage=0,"graphics/ships/LCM/LCM.mgm",true
DistantLOD="LuaScripts/WorldObjects/Ships/DistantLODs/LCM_Distant.txt"
DLODArgs=63221,63222

ImageAttrs="IA_NOMINPIXELS","IA_NOMINZ","IA_NOCLIP_ANIM","IA_NOCLIP","IA_ALWAYSVISIBLE"

CollisionBody="graphics/ships/LCM/LCM.col"

SoundScript="LuaScripts/Sound/Vehicles/LCA.cfg"

[attach=0]
	position= -3.906,1.584,-0.885
	object = "LuaScripts/WorldObjects/Ships/Turrets/LCM-M2mg.txt"
[end]

[attach=1]
	position= -3.906,1.584,0.962
	object = "LuaScripts/WorldObjects/Ships/Turrets/LCM-M2mg.txt"
[end]

[attach=2]
	position= -5.438,3.100,0.037
	object = "LuaScripts/WorldObjects/Bots/BotShipper.txt"
[end]

[attach=3]
	position= -5.404,3.620,0.062
	rotation= 30, 0, 0
	object = "LuaScripts/WorldObjects/FlareGun.txt"
[end]

AttachedCameras = "LuaScripts\WorldObjects\fixcameras\Vehicles\LCM.txt"

CommandMonitor="LuaScripts/WorldObjects/VehicleMonitor.txt"


// 
logtreshold=0.0001
MaxDeleteTime = 600

length = 13.3
height = 0.82
width  = 4.2

TotalPoints = 4

point0 = 2.9, 0, -2.0, 28, 0.3, 0.2
point1 = 2.9, 0, 2.0, 28, 0.3, 0.1
point2 = -2.9, 0, -2.0, 28, 0.3, 0.1
point3 = -2.9, 0, 2.0, 28, 0.3, 0.2

//  .  ,   3D .
MaxWaveTime = 4		// 
WavePointSize = 1.5	// 
MaxWave = 20000		//  

Cx = 4000.0					//   .     Y
Cw = 200.0					//     

sendrate = 10				//    50     (=20    2.5)

mass = 51000.0
MaxEngineForce = 9500.0
MinEngineForce = 100
Csf=1.5
PrioritySpeed=5.8			//    9.5 , 5.65 /
MaxPropRotationRPM=120.0	//   (/)    
PropRotationSmoothK=0.01	//     
TurnShift=0.5				//        
RudderAngle=60				//    
Crudder=20					//    (    ,    )
Cwx=15						//     , ,  Cw   
Cwz=800						//     , ,  Cwx*20   
Cang=1.0					//  
RudderPos=-7.2,-0.7,0.0		//     (  )
FrictionPos=0,-1.7,0		//     
GlidingK = 2.0				//       X    ().   - 0
GlidingPosK = 0.8			//    . 1 -  , 0 -  .

// Damage model

energyloss="",true,7.0,1000		//     , true -       -,       ,        

Armor=7			//  ,  

[ArmorBox]			//    ,     ,   ,     Armor=
	FovH=90			//          ,     ,  ArmorFront
	FovV=160		//          ,     ,  ArmorFront
					//  5        
	ArmorFront=7
	ArmorBack=7
	ArmorTop=4
	ArmorBottom=7
	ArmorRight=7
	ArmorLeft=7
[end]

LifeRate=60000
LifeRateFrag=60000

LandingApronArg=2000
LandingApronTime=2.0

EngineExhaustArg = 63200
BackTrailArg = 63222
FrontTrailArg = 63221
PropSprayArg=63231

[splash]
	pos = 5.7, 0.0, 0
	splashArg = 63229
	SplashTotalTime = 1.0
	SplashAttackTime = 0.1
	SplashKoeff = 30
	startArgValue = 0.5
	
	splashDiffHeight = 1.1
	// time = splashStackCount * splashstacktime
	splashStackCount = 50
	splashstacktime = 0.1
[end]

floathook= 5.7,  0.3, 0,	100,false	//x,y,z, Arg, 3D water,      
floathook=-7.65, 0.3, 0,	101,false	//     
floathook= 5.7,  0.3, 0,	102,true	//     
floathook=-7.65, 0.3, 0,	103,true	//      

OneSectionMode = true
SectionsHealthPercent = 1.0f

CommandSectionId = 2

MinMovementHealth = 0.3

SinkEffectScript = "LuaScripts/WorldObjects/explosions/Effects/SinkPTBoat.txt"

[section=0]
	Armor=2				//  ,  

	LifeRate=60000
	LifeRateFrag=60000

	ConvexName = "collision_1"

	// effect
	EffectCoord = 3.565,0.504,0.083
	ExplosionScript = "LuaScripts/WorldObjects/explosions/Detonation/ShipSmall.txt"

	DestructArg = 761
	FiringArg = 63210
	SmokeArgBase = 63210
	SmokeArgTotalNum = 1
	SmokeStartHealth = 0.5			// ,    
	FireEffectTime = 100.0			//     

	RegenerationMax = 0.49			//   Life -
	RegenerationMin = 0.2			//   Life,     
	RegenerationPercent = 0			//  ,  Life  
	Firing=0.0008					//     ,  Life  

	MinMovementHealth = 0.25		// ,    
	MinAttackHealth = 0.1			// ,    

	CollisionLifeRate = 102000		//   ,   ,    .     \Ships\1124.txt.   5  .
	CollisionMinImpulse = 2040		//      (0.02 of CollisionLifeRate).
	AlwaysColDamage=false			// True -      

	pointsTotal= 1
	point0 = 1
[end]

[section=1]
	Armor=2				//  ,  

	LifeRate=60000
	LifeRateFrag=60000

	ConvexName = "collision_2"

	// effect
	EffectCoord = -3.830,1.567,0.999
	ExplosionScript = "LuaScripts/WorldObjects/explosions/Detonation/ShipSmall.txt"

	DestructArg = 781
	FiringArg = 63211
	SmokeArgBase = 63211
	SmokeArgTotalNum = 1
	SmokeStartHealth = 0.5			// ,    
	FireEffectTime = 100.0			//     

	RegenerationMax = 0.49			//   Life -
	RegenerationMin = 0.2			//   Life,     
	RegenerationPercent = 0			//  ,  Life  
	Firing=0.0008					//     ,  Life  

	MinMovementHealth = 0.25			// ,    
	MinAttackHealth = 0.1			// ,    

	CollisionLifeRate = 102000		//   ,   ,    .     \Ships\1124.txt.   5  .
	CollisionMinImpulse = 2040		//      (0.02 of CollisionLifeRate).
	AlwaysColDamage=false			// True -      

	pointsTotal= 1
	point0 = 2

[end]

[section=2]
	Armor=6				//  ,  
	[ArmorBox]			//    ,     ,   ,     Armor=
		FovH=90			//          ,     ,  ArmorFront
		FovV=160		//          ,     ,  ArmorFront
						//  5        
		ArmorFront=6
		ArmorBack=6
		ArmorTop=0
		ArmorBottom=6
		ArmorRight=6
		ArmorLeft=6
	[end]

	LifeRate=30000
	LifeRateFrag=30000

	InfluenceOnTotalHealth = false

	ConvexName = "collision_3"

	// effect
	//EffectCoord = -5.615,3.019,0.083
	//ExplosionScript = "LuaScripts/WorldObjects/explosions/Detonation/VehicleNoDmg.txt"

	DestructArg = 901
//	FiringArg = 63213
//	SmokeArgBase = 63213
	SmokeArgTotalNum = 1
	SmokeStartHealth = 0.5			// ,    
	FireEffectTime = 100.0			//     

	RegenerationMax = 0.49			//   Life -
	RegenerationMin = 0.2			//   Life,     
	RegenerationPercent = 0			//  ,  Life  
	Firing=0.0008					//     ,  Life  

	CollisionLifeRate = 20400		//   ,   ,    .     \Ships\1124.txt.   5  .
	CollisionMinImpulse = 408		//      (0.02 of CollisionLifeRate).
	AlwaysColDamage=false			// True -      
[end]

[CrewEscape]
	EscapeHealth=0.25f
	EscapeAtLeast=1
	DistanceToRun=50.0f
	EscapePos=-5.0,1.2,-3.0

	EscapeVisArg=1000
	
	//Bot="LuaScripts\WorldObjects\Bots\BotField_SoldierGBRlate.txt"
[end]

DebugInfo = false